{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 第一题\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Q：视觉系统有哪些构成要素？\n",
    "A： 1）光源（包括可见光与非可见光）2）相机（采集设备）3）硬件（与设计处理相关的各种计算机） 4）软件\n",
    "Q：机械臂视觉系统的构成要素？\n",
    "A：1）光源：可以用自然光或者人造光源 。2）相机：专业工业相机。3）硬件：嵌入式设备。4）软件：图形算法具体实现以及其所用到的库或者软件。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 第二题"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Q： 尝试从模仿人类视觉处理流程的角度，阐述本对课程内容组织的理解\n",
    "A：人类视觉处理过程是🈶️简单到复杂又大脑皮层的不同区域分别处理。流程物体形状-物体间空间位置关系-运动特性。本课程也是按照此规律由易到难，由简单到复杂，贴合自然规律，有利于理解。此过程也同Marr的三层理论向一致。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 第三题"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Q:什么是光通量和辐照度？说明几个常见光源的光通量，以及几个常见照明环境的辐照度。\n",
    "A:光通量为光的辐射能量与根据光的波长所对应的人眼感知强度的乘机，单位流明lm。\n",
    "  辐照度是一种物理参数，是在某一指定表面上单位面积上所接受的辐射能量，单位为勒克司lux。 1lux = 1lm / m^2 .\n",
    "  太阳光通量3.566*10^28 lm.烛光光通量为12.56lm .辐照度晴天直射为100000aux .夜晚辐照度为 0.001 - 0.02aux"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 第四题"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "![jupyter](./HSI_Color_Spase.jpg)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Q：结合颜色空间示意图，简述HSI颜色空间中各通道的物理意义，并结合图像实例说明。\n",
    "A:如上图所示\n",
    "  H通道标色色度.颜色信息映射到一个圆形区域.色彩H由旋转角表示,0度代表红色,120度代表绿色,240度代表绿色\n",
    "  S饱和度.代表颜色中的白色成分,在上图中,越靠近边缘,饱和度越高\n",
    "  I亮度.代表颜色灰度.上图中的I轴,越往上,亮度越高,向下则相反"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "![jupyter](./lena_s.bmp) ---- S通道\n",
    "![jupyter](./lena_h.bmp) ---- H通道\n",
    "![jupyter](./lena_v.bmp) ---- V通道"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import cv2\n",
    "import sys\n",
    "cv2.startWindowThread()\n",
    "mt = cv2.imread('../../Sample/ula.jpg')\n",
    "cv2.startWindowThread()\n",
    "cv2.imshow(\"original image\",mt)\n",
    "cv2.waitKey()\n",
    "cv2.destroyAllWindows()\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
